import request from '@/utils/request'

// 查询案件鉴定材料列表
export function listCase_identifications_materials(query) {
  return request({
    url: '/api/LegalCase/case_identifications_materials/list',
    method: 'get',
    params: query
  })
}

// 查询案件鉴定材料详细
export function getCase_identifications_materials(id) {
  return request({
    url: '/api/LegalCase/case_identifications_materials/' + id,
    method: 'get'
  })
}

// 新增案件鉴定材料
export function addCase_identifications_materials(data) {
  return request({
    url: '/api/LegalCase/case_identifications_materials',
    method: 'post',
    data: data
  })
}

// 修改案件鉴定材料
export function updateCase_identifications_materials(data) {
  return request({
    url: '/api/LegalCase/case_identifications_materials',
    method: 'put',
    data: data
  })
}

// 删除案件鉴定材料
export function delCase_identifications_materials(id) {
  return request({
    url: '/api/LegalCase/case_identifications_materials/' + id,
    method: 'delete'
  })
}
